-- GENERATED SPELL FOR [Antilus the Soarer] --


function spell0_5347(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5347', 15000, 1)
end

function Sorts_5347(pUnit, Event)
local choix_sorts_5347 = math.random(0, 0)
if choix_sorts_5347 == 0 then
pUnit:RegisterEvent('spell0_5347', 1, 1)
end
end

function mob5347_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5347', math.random(1500, 3000), 1)
end

function mob5347_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5347_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5347_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5347, 1, 'mob5347_Action')
RegisterUnitEvent(5347, 2, 'mob5347_Leave')
RegisterUnitEvent(5347, 3, 'mob5347_Kill')
RegisterUnitEvent(5347, 4, 'mob5347_Die')
